<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Đặng Khánh Trung
 * Date: 10/26/12
 * Time: 11:05 PM
 * To change this template use File | Settings | File Templates.
 */

defined('_JEXEC') or die;

/**
 * Component Controller
 *
 * @package        Joomla.Administrator
 * @subpackage    com_vast
 */
class VastController extends JController
{
    /**
     * @var        string    The default view.
     * @since    2.5
     */
    protected $default_view = 'vast';

    /**
     * Method to display a view.
     *
     * @param    boolean            If true, the view output will be cached
     * @param    array            An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}.
     *
     * @return    JController        This object to support chaining.
     * @since    1.5
     */
    public function display($cachable = false, $urlparams = false)
    {
        $view = JRequest::getCmd('view', 'vast');
        $layout = JRequest::getCmd('layout', 'default');

        parent::display();
        return $this;
    }
}